# Contributor: Matthew T Hoare <matthew.t.hoare@gmail.com>
# Maintainer: Matthew T Hoare <matthew.t.hoare@gmail.com>
pkgname=nwg-launchers
pkgver=0.3.1
pkgrel=0
pkgdesc="GTK+ launchers for sway, i3 and some other window managers"
url="https://github.com/nwg-piotr/nwg-launchers"
arch="all"
license="GPL-3.0-or-later"
makedepends="cmake gtkmm3-dev meson nlohmann-json"
options="!check" # no checks
source="$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/nwg-launchers/archive/v$pkgver.tar.gz"

build() {
	abuild-meson . output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="91e72c24899d01172075141102e714a0c0264a1dc68a550a6b64eb66201f85605781c0beaa631d8bc7f40bc93cf9dea26d6eab698077941ac3f8120f666f85f7  nwg-launchers-0.3.1.tar.gz"
